﻿<!DOCTYPE html>
<html class="no-js css-menubar" lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!-- 移动设备 viewport -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
    <meta name="author" content="火星科技 http://cesium.marsgis.cn ">
    <!-- 360浏览器默认使用Webkit内核 -->
    <meta name="renderer" content="webkit">
    <!-- Chrome浏览器添加桌面快捷方式（安卓） -->
    <link rel="icon" type="image/png" href="img/favicon/favicon.png">
    <meta name="mobile-web-app-capable" content="yes">
    <!-- Safari浏览器添加到主屏幕（IOS） -->
    <link rel="icon" sizes="192x192" href="img/favicon/apple-touch-icon.png">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-title" content="火星科技MarsGIS">
    <!-- Win8标题栏及ICON图标 -->
    <link rel="apple-touch-icon-precomposed" href="img/favicon/apple-touch-icon.png">
    <meta name="msapplication-TileImage" content="img/favicon/app-icon72x72@2x.png">
    <meta name="msapplication-TileColor" content="#62a8ea">

    <!-- 标题及搜索关键字 -->
    <meta name="keywords" content="火星科技|合肥火星|合肥火星科技|合肥火星科技有限公司|leaflet|leaflet框架|leaflet开发|cesium|cesium开发|cesium框架|gis|marsgis|地图离线|地图开发|地图框架|地图外包" />
    <meta name="description" content="火星科技 合肥火星 合肥火星科技 合肥火星科技有限公司 leaflet leaflet框架 leaflet开发 cesium cesium开发 cesium框架 gis marsgis 地图离线 地图开发 地图框架 地图外包 框架 开发 外包  地图离线 二维地图 三维地图 全景漫游 地理信息系统 云GIS 三维GIS GIS平台 WebGIS" />
     
    <title>API 文档 - space插件 - Mars3D三维地球平台 |   MarsGIS for Cesium |三维地图| 火星科技|合肥火星科技|合肥火星科技有限公司</title>



    <link rel="stylesheet" href="css/normalize.css" />
    <link rel="stylesheet" href="css/main.css" />

    <script type="text/javascript" src="../../../../include-lib.js?time=20200510"
     include="jquery,highlight" libpath="../../../../"></script>

</head>

<body class="api-page">

    <div class="container">

        <h2>Mars3D Space卫星插件 API文档    v2.1 </h2>

        <p>在阅读API之前，您至少应该了解Mars3D ( MarsGIS for Cesium )框架.</p>

        <hr />

        <div id="toc" class="clearfix"> 
            <div class="toc-col last-col"> 
                <h4>矢量对象类</h4>
                <ul>
                    <li><a href="#CamberRadarPrimitive">双曲面雷达 矢量</a></li>
                    <li><a href="#RadarPrimitive">圆锥雷达 矢量</a></li>
                    <li><a href="#FourPrismPrimitive">四棱锥地面站 矢量</a></li>
                    <li><a href="#FrustumPrimitive">视锥体 矢量</a></li> 
                </ul>
            </div>
            <div class="toc-col last-col"> 
                <h4>卫星管理类</h4>
                <ul> 
                    <li><a href="#Satellite">卫星综合对象</a></li>
                    <li><a href="#mars3d-space-util">常用静态方法</a></li>
                </ul>
            </div>
        </div>
  




            <h2 id='CamberRadarPrimitive'>双曲面拱形雷达矢量对象</h2>
            <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
            <p>
                mars3d.space.CamberRadarPrimitive 是实体类，双曲面拱形雷达矢量对象展示。
            </p> 
            <section>
                    <h3 id='measureTool-example'>使用示例</h3>
        
                    <section>
        
                        <pre><code class="javascript">var primitive = viewer.scene.primitives.add(new mars3d.space.CamberRadarPrimitive({
    modelMatrix: modelMatrix,
    faceColor: new Cesium.Color(0.0, 1.0, 0.0, 0.5),
    lineColor: new Cesium.Color(1.0, 1.0, 0.0, 1.0),
    startRadius: item.startRadius,  //内曲面半径
    radius: item.radius,            //外曲面半径
    startFovH: Cesium.Math.toRadians(item.startFovH),   //左横截面角度，起始角度
    endFovH: Cesium.Math.toRadians(item.endFovH),       //右横截面角度，结束角度
    startFovV: Cesium.Math.toRadians(item.startFovV),   //垂直方向张角，起始角度
    endFovV: Cesium.Math.toRadians(item.endFovV),       //垂直方向张角，结束角度
    show: true,
}));</code></pre>
                    </section>
        
                </section> 
    
            <section>
                <h3 id='MeasureVolume-option'>Options参数选项</h3>
                <section>
    
                    <table>
                        <thead>
                            <tr>
                                <th>Option参数</th>
                                <th>参数类型</th>
                                <th>默认值</th>
                                <th>说明</th>
                            </tr>
                        </thead>
                        <tbody> 
                            <tr>
                                <td><code><b>modelMatrix</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Matrix4.html?classFilter=Matrix4">Matrix4</a></code></td>
                                <td><code></code></td>
                                <td>所在的位置，矩阵对象 </td>
                            </tr>
                            
                            <tr>
                                <td><code><b>faceColor</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                <td><code>new Cesium.Color(1.0, 1.0, 0.0, 0.5)</code></td>
                                <td>曲面表面颜色</td>
                            </tr>
                            <tr>
                                <td><code><b>lineColor</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                <td><code>new Cesium.Color(1.0, 0.0, 0.0)</code></td>
                                <td>边线颜色</td>
                            </tr> 
                            
                            <tr>
                                <td><code><b>startRadius</b></code></td>
                                <td><code>Number</code></td>
                                <td><code></code></td>
                                <td>内曲面半径</td>
                            </tr> 
                            <tr>
                                <td><code><b>radius</b></code></td>
                                <td><code>Number</code></td>
                                <td><code></code></td>
                                <td>外曲面半径</td>
                            </tr> 
                            <tr>
                                <td><code><b>startFovH</b></code></td>
                                <td><code>Number</code></td>
                                <td><code></code></td>
                                <td>左横截面角度，起始角度</td>
                            </tr>
        
                            <tr>
                                <td><code><b>endFovH</b></code></td>
                                <td><code>Number</code></td>
                                <td><code></code></td>
                                <td>右横截面角度，结束角度</td>
                            </tr>
                            <tr>
                                <td><code><b>startFovV</b></code></td>
                                <td><code>Number</code></td>
                                <td><code></code></td>
                                <td>垂直方向张角，起始角度</td>
                            </tr>
                            <tr>
                                <td><code><b>show</b></code></td>
                                <td><code>Boolean</code></td>
                                <td><code>true</code></td>
                                <td>是否显示</td>
                            </tr>
    
                            
                        </tbody>
                    </table>
    
                </section>
            </section>
            <section>
                <h3 id='mars3dmap-method'>属性</h3>
                <section>
                    <table>
                        <thead>
                            <tr>
                                <th>属性名</th>
                                <th>类型</th>
                                <th>说明</th>
                            </tr>
                        </thead>
                        <tbody>  
                            <tr>
                                <td><code><b>modelMatrix</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Matrix4.html?classFilter=Matrix4">Matrix4</a></code></td>
                            
                                <td>所在的位置，矩阵对象 </td>
                            </tr>
                            
                            <tr>
                                <td><code><b>faceColor</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                
                                <td>曲面表面颜色</td>
                            </tr>
                            <tr>
                                <td><code><b>lineColor</b></code></td>
                                <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                               
                                <td>边线颜色</td>
                            </tr> 
                            
                            <tr>
                                <td><code><b>startRadius</b></code></td>
                                <td><code>Number</code></td>
                                <td>内曲面半径</td>
                            </tr> 
                            <tr>
                                <td><code><b>radius</b></code></td>
                                <td><code>Number</code></td>
                                <td>外曲面半径</td>
                            </tr> 
                            <tr>
                                <td><code><b>startFovH</b></code></td>
                                <td><code>Number</code></td>
                                <td>左横截面角度，起始角度</td>
                            </tr>
        
                            <tr>
                                <td><code><b>endFovH</b></code></td>
                                <td><code>Number</code></td>
                                <td>右横截面角度，结束角度</td>
                            </tr>
                            <tr>
                                <td><code><b>startFovV</b></code></td>
                                <td><code>Number</code></td>
                                <td>垂直方向张角，起始角度</td>
                            </tr>
                            <tr>
                                <td><code><b>show</b></code></td>
                                <td><code>Boolean</code></td>
                                <td>是否显示</td>
                            </tr>
    
                        </tbody>
                    </table>
                </section>
            </section>
            <section>
                    <h3 id='marker-method'>方法</h3>
        
                    <section>
                        <div class='section-comments'>
                            包括模块释放时相关方法。
                        </div>
                        <table>
                            <thead>
                                <tr>
                                    <th>方法名</th>
                                    <th>返回值</th>
                                    <th>说明</th>
                                </tr>
                            </thead>
                            <tbody>  
                                <tr id='marker-getData'>
                                    <td><code><b>destroy</b>()</code></td>
                                    <td><code>void</code></td>
                                    <td>
                                        <p>销毁释放对象</p>
                                    </td>
                                </tr> 
    
                                
                            </tbody>
                        </table>
        
                    </section>
                </section>
    
    
    

                <h2 id='RadarPrimitive'>圆锥雷达矢量对象</h2>
                <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
                <p> 
                    mars3d.space.RadarPrimitive 是实体类，圆锥雷达矢量对象矢量对象展示。
                </p> 
                <section>
                        <h3 id='measureTool-example'>使用示例</h3>
            
                        <section>
            
                            <pre><code class="javascript">var radarEntity = new mars3d.space.RadarPrimitive(viewer, {
    position: position,
    angle: angle, //雷达最小扫描仰角
    radius: radius,
    rotation: {
        heading: Cesium.Math.toRadians(heading),
        pitch: Cesium.Math.toRadians(pitch),
        roll: Cesium.Math.toRadians(roll)
    },
    color: new Cesium.Color.fromCssColorString("#ff0000").withAlpha(0.4),
    lineColor: new Cesium.Color.fromCssColorString("#ffffff").withAlpha(0.9),
})</code></pre>
                        </section>
            
                    </section> 
        
                <section>
                    <h3 id='MeasureVolume-option'>Options参数选项</h3>
                    <section>
        
                        <table>
                            <thead>
                                <tr>
                                    <th>Option参数</th>
                                    <th>参数类型</th>
                                    <th>默认值</th>
                                    <th>说明</th>
                                </tr>
                            </thead>
                            <tbody> 
                                <tr>
                                    <td><code><b>position</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                    <td><code></code></td>
                                    <td>所在的位置坐标 </td>
                                </tr>
                                <tr>
                                    <td><code><b>angle</b></code></td>
                                    <td><code>Number</code></td>
                                    <td><code></code></td>
                                    <td>仰角, 单位是角度</td>
                                </tr> 
                                <tr>
                                    <td><code><b>radius</b></code></td>
                                    <td><code>Number</code></td>
                                    <td><code>5</code></td>
                                    <td>半径</td>
                                </tr> 
                                <tr>
                                    <td><code><b>rotation</b></code></td>
                                    <td><code>Object</code></td>
                                    <td><code>{ heading: 0, pitch: 0, roll: 0 }</code></td>
                                    <td>方向</td>
                                </tr>
                                
                                <tr>
                                    <td><code><b>color</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                    <td><code>Cesium.Color.YELLOW</code></td>
                                    <td>颜色</td>
                                </tr>
                                <tr>
                                    <td><code><b>lineColor</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                    <td><code>Cesium.Color.YELLOW</code></td>
                                    <td>线颜色</td>
                                </tr>
                                <tr>
                                    <td><code><b>top</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td><code>true</code></td>
                                    <td>顶是否显示</td>
                                </tr>
        
                                <tr>
                                    <td><code><b>topOutline</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td><code>true</code></td>
                                    <td>顶部线是否显示</td>
                                </tr>

                                <tr>
                                    <td><code><b>fixedFrameTransform</b></code></td>
                                    <td><code>Transforms.LocalFrameToFixedFrame</code>
                                    <td><code>Cesium.Transforms.eastNorthUpToFixedFrame</code></td>
                                    <td>参考系</td>
                                </tr>
                                <tr>
                                    <td><code><b>show</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td><code>true</code></td>
                                    <td>是否显示</td>
                                </tr>
        
                                
                            </tbody>
                        </table>
        
                    </section>
                </section>
                <section>
                    <h3 id='mars3dmap-method'>属性</h3>
                    <section>
                        <table>
                            <thead>
                                <tr>
                                    <th>属性名</th>
                                    <th>类型</th>
                                    <th>说明</th>
                                </tr>
                            </thead>
                            <tbody>  
                                   <tr>
                                    <td><code><b>position</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                    <td>所在的位置坐标 </td>
                                </tr>
                                <tr>
                                    <td><code><b>rotation</b></code></td>
                                    <td><code>Object</code></td>
                                    <td>方向 { heading: 0, pitch: 0, roll: 0 }</td>
                                </tr>
                                <tr>
                                    <td><code><b>heading</b></code></td>
                                    <td><code>Number</code></td>
                                    <td>方向heading</td>
                                </tr>
                                <tr>
                                    <td><code><b>pitch</b></code></td>
                                    <td><code>Number</code></td>
                                    <td>方向pitch</td>
                                </tr>
                                <tr>
                                    <td><code><b>roll</b></code></td>
                                    <td><code>Number</code></td>
                                    <td>方向roll</td>
                                </tr>
                                <tr>
                                    <td><code><b>color</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                    
                                    <td>颜色</td>
                                </tr>
                                <tr>
                                    <td><code><b>lineColor</b></code></td>
                                    <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                             
                                    <td>线颜色</td>
                                </tr>
                                <tr>
                                    <td><code><b>angle</b></code></td>
                                    <td><code>Number</code></td>
                                    <td>仰角, 单位是角度</td>
                                </tr> 
                                <tr>
                                    <td><code><b>radius</b></code></td>
                                    <td><code>Number</code></td>
                                    <td>半径</td>
                                </tr> 
                                <tr>
                                    <td><code><b>top</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td>顶是否显示</td>
                                </tr>
        
                                <tr>
                                    <td><code><b>topOutline</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td>顶部线是否显示</td>
                                </tr>
                                
                                <tr>
                                    <td><code><b>show</b></code></td>
                                    <td><code>Boolean</code></td>
                                    <td>是否显示</td>
                                </tr>
        
                                        
                                <tr>
                                    <td><code><b>trackedEntity</b></code></td>
                                    <td><code>Entity</code>
                                    <td>跟踪卫星的对象，视锥体的方向和位置跟随追踪的entity</td>
                                </tr>

                                <tr>
                                    <td><code><b>groundArea</b></code></td>
                                    <td><code>boolean</code>
                                    <td>是否显示地面投影</td>
                                </tr>
                                

                            </tbody>
                        </table>
                    </section>
                </section>
                <section>
                        <h3 id='marker-method'>方法</h3>
            
                        <section>
                            <div class='section-comments'>
                                包括模块释放时相关方法。
                            </div>
                            <table>
                                <thead>
                                    <tr>
                                        <th>方法名</th>
                                        <th>返回值</th>
                                        <th>说明</th>
                                    </tr>
                                </thead>
                                <tbody>  
                                    <tr id='marker-getData'>
                                        <td><code><b>destroy</b>()</code></td>
                                        <td><code>void</code></td>
                                        <td>
                                            <p>销毁释放对象</p>
                                        </td>
                                    </tr> 
        
                                    
                                </tbody>
                            </table>
            
                        </section>
                    </section>
        
    


                    <h2 id='FourPrismPrimitive'>四棱锥地面站矢量对象</h2>
                    <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
                    <p> 
                        mars3d.space.FourPrismPrimitive 是实体类，四棱锥地面站矢量对象展示。
                    </p> 
                    <section>
                            <h3 id='measureTool-example'>使用示例</h3>
                            <section>
                                <pre><code class="javascript">var smt = new mars3d.space.FourPrismPrimitive(viewer, {
    angle1: angle1,
    angle2: angle2,
    radius: radius,
    rotation: {
        heading: Cesium.Math.toRadians(heading),
        pitch: Cesium.Math.toRadians(pitch),
        roll: Cesium.Math.toRadians(roll)
    },
    color: new Cesium.Color.fromCssColorString("#00ff00").withAlpha(0.4),
    position: new Cesium.Cartesian3.fromDegrees(point.x, point.y, point.z),
    outline: true,
    topShow: true,
    topSteps: 2
});</code></pre>
                            </section>
                        </section> 
                    <section>
                        <h3 id='MeasureVolume-option'>Options参数选项</h3>
                        <section>
            
                            <table>
                                <thead>
                                    <tr>
                                        <th>Option参数</th>
                                        <th>参数类型</th>
                                        <th>默认值</th>
                                        <th>说明</th>
                                    </tr>
                                </thead>
                                <tbody> 
                                    <tr>
                                        <td><code><b>position</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                        <td><code></code></td>
                                        <td>所在的位置坐标 </td>
                                    </tr>
                                    <tr>
                                        <td><code><b>angle1</b></code></td>
                                        <td><code>Number</code></td>
                                        <td><code>10</code></td>
                                        <td>四棱锥的第一个角度</td>
                                    </tr> 
                                    <tr>
                                        <td><code><b>angle2</b></code></td>
                                        <td><code>Number</code></td>
                                        <td><code>10</code></td>
                                        <td>四棱锥的第二个角度</td>
                                    </tr> 
                                    <tr>
                                        <td><code><b>radius</b></code></td>
                                        <td><code>Number</code></td>
                                        <td><code>5</code></td>
                                        <td>半径</td>
                                    </tr> 
                                    <tr>
                                        <td><code><b>rotation</b></code></td>
                                        <td><code>Object</code></td>
                                        <td><code>{ heading: 0, pitch: 0, roll: 0 }</code></td>
                                        <td>方向</td>
                                    </tr>
                                    
                                    <tr>
                                        <td><code><b>color</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                        <td><code>Cesium.Color.YELLOW</code></td>
                                        <td>颜色</td>
                                    </tr>
                                    
                                    <tr>
                                        <td><code><b>outline</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td><code>true</code></td>
                                        <td>是否显示边线</td>
                                    </tr>

                                    <tr>
                                        <td><code><b>lineColor</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                        <td><code>Cesium.Color.YELLOW</code></td>
                                        <td>线颜色</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>top</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td><code>true</code></td>
                                        <td>顶是否显示</td>
                                    </tr>
            
                                    <tr>
                                        <td><code><b>topOutline</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td><code>true</code></td>
                                        <td>顶部线是否显示</td>
                                    </tr>

                                    <tr>
                                        <td><code><b>topSteps</b></code></td>
                                        <td><code>Number</code></td>
                                        <td><code>8</code></td>
                                        <td>顶部切分步长</td>
                                    </tr>
                                    
    
                                    <tr>
                                        <td><code><b>fixedFrameTransform</b></code></td>
                                        <td><code>Transforms.LocalFrameToFixedFrame</code>
                                        <td><code>Cesium.Transforms.eastNorthUpToFixedFrame</code></td>
                                        <td>参考系</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>reverse</b></code></td>
                                        <td><code>boolean</code>
                                        <td><code>true</code></td>
                                        <td>是否反转朝向,在非卫星应用时，可以不反转方向</td>
                                    </tr>
            
                                    
                                    <tr>
                                        <td><code><b>show</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td><code>true</code></td>
                                        <td>是否显示</td>
                                    </tr>
            
                                    
                                </tbody>
                            </table>
            
                        </section>
                    </section>
                    <section>
                        <h3 id='mars3dmap-method'>属性</h3>
                        <section>
                            <table>
                                <thead>
                                    <tr>
                                        <th>属性名</th>
                                        <th>类型</th>
                                        <th>说明</th>
                                    </tr>
                                </thead>
                                <tbody>  
                                       <tr>
                                        <td><code><b>position</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                        <td>所在的位置坐标 </td>
                                    </tr>
                                    <tr>
                                        <td><code><b>rotation</b></code></td>
                                        <td><code>Object</code></td>
                                        <td>方向 { heading: 0, pitch: 0, roll: 0 }</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>heading</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>方向heading</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>pitch</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>方向pitch</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>roll</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>方向roll</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>color</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                        
                                        <td>颜色</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>lineColor</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                 
                                        <td>线颜色</td>
                                    </tr>
                             
                                    <tr>
                                        <td><code><b>angle1</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>四棱锥的第一个角度</td>
                                    </tr> 
                                    <tr>
                                        <td><code><b>angle2</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>四棱锥的第二个角度</td>
                                    </tr> 
                                    <tr>
                                        <td><code><b>radius</b></code></td>
                                        <td><code>Number</code></td>
                                        <td>半径</td>
                                    </tr> 
                           
                                    <tr>
                                        <td><code><b>color</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                   
                                        <td>颜色</td>
                                    </tr>
                                    
                                    <tr>
                                        <td><code><b>outline</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td>是否显示边线</td>
                                    </tr>

                                    <tr>
                                        <td><code><b>lineColor</b></code></td>
                                        <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                
                                        <td>线颜色</td>
                                    </tr>
                                    <tr>
                                        <td><code><b>top</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td>顶是否显示</td>
                                    </tr>
            
                                    <tr>
                                        <td><code><b>topOutline</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td>顶部线是否显示</td>
                                    </tr>

                               
                       
                                    <tr>
                                        <td><code><b>show</b></code></td>
                                        <td><code>Boolean</code></td>
                                        <td>是否显示</td>
                                    </tr>
            
                                            
                                    <tr>
                                        <td><code><b>trackedEntity</b></code></td>
                                        <td><code>Entity</code>
                                        <td>跟踪卫星的对象，视锥体的方向和位置跟随追踪的entity</td>
                                    </tr>
    
                                    <tr>
                                        <td><code><b>groundArea</b></code></td>
                                        <td><code>boolean</code>
                                        <td>是否显示地面投影</td>
                                    </tr>
                                    
    
                                </tbody>
                            </table>
                        </section>
                    </section>
                    <section>
                            <h3 id='marker-method'>方法</h3>
                
                            <section>
                                <div class='section-comments'>
                                    包括模块释放时相关方法。
                                </div>
                                <table>
                                    <thead>
                                        <tr>
                                            <th>方法名</th>
                                            <th>返回值</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody>  
                                        <tr id='marker-getData'>
                                            <td><code><b>destroy</b>()</code></td>
                                            <td><code>void</code></td>
                                            <td>
                                                <p>销毁释放对象</p>
                                            </td>
                                        </tr> 
            
                                        
                                    </tbody>
                                </table>
                
                            </section>
                        </section>



 

                        <h2 id='FrustumPrimitive'>卫星视锥体矢量对象</h2>
                        <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
                        <p>
                            mars3d.space.FrustumPrimitive 是实体类，提供四凌锥或圆锥体的视锥体对象展示。
                            老版本中该类命名为 SatelliteCoverageSimulation
                        </p> 
                        <section>
                                <h3 id='measureTool-example'>使用示例</h3>
                                <section>
                                    <pre><code class="javascript">var coneEntity = new mars3d.space.FrustumPrimitive(viewer, {
    position: position,
    areaType: mars3d.space.FrustumPrimitive.AreaType.FourPrism,//四棱锥
    angle1: angle1,
    angle2: angle2,
    rotation: {//传入弧度值
        heading: heading,
        pitch: pitch,
        roll: roll
    },
    color: new Cesium.Color.fromCssColorString("#00ffff").withAlpha(0.7)
});</code></pre>
                                </section>
                    
                            </section>
                            <section>
                                <h3 id='FrustumPrimitive-AreaType'>椎体类型</h3>
                                <section>
                    
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>枚举名称</th> 
                                                <th>说明</th>
                                            </tr>
                                        </thead>
                                        <tbody> 
                                            <tr>
                                                <td><code><b>mars3d.space.FrustumPrimitive.AreaType.Cone</b></code></td>
                                              
                                                <td>圆锥 </td>
                                            </tr>
                                            
                                            <tr>
                                                <td><code><b>mars3d.space.FrustumPrimitive.AreaType.FourPrism</b></code></td>
                                      
                                                <td>四棱锥</td>
                                            </tr>
                     
                                        </tbody>
                                    </table>
                    
                                </section>
                            </section>
                
                        <section>
                            <h3 id='MeasureVolume-option'>Options参数选项</h3>
                            <section>
                
                                <table>
                                    <thead>
                                        <tr>
                                            <th>Option参数</th>
                                            <th>参数类型</th>
                                            <th>默认值</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody> 
                                        <tr>
                                            <td><code><b>position</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                            <td><code></code></td>
                                            <td>所在的位置坐标 </td>
                                        </tr>
                                        
                                        <tr>
                                            <td><code><b>color</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                            <td><code>Cesium.Color.YELLOW</code></td>
                                            <td>颜色</td>
                                        </tr>
                
                                        <tr>
                                            <td><code><b>areaType</b></code></td>
                                            <td><code><a href="#FrustumPrimitive-AreaType">AreaType</a></code></td>
                                            <td><code>AreaType.FourPrism</code></td>
                                            <td>椎体类型(圆锥或四棱锥)，默认：四棱锥体</td>
                                        </tr>
                                        
                                        <tr>
                                            <td><code><b>angle1</b></code></td>
                                            <td><code>Number</code></td>
                                            <td><code>10</code></td>
                                            <td>圆锥的角度 或者 四棱锥的第一个角度</td>
                                        </tr> 
                                        <tr>
                                            <td><code><b>angle2</b></code></td>
                                            <td><code>Number</code></td>
                                            <td><code>10</code></td>
                                            <td>四棱锥的第二个角度</td>
                                        </tr> 
                                        <tr>
                                            <td><code><b>rotation</b></code></td>
                                            <td><code>Object</code></td>
                                            <td><code>{ heading: 0, pitch: 0, roll: 0 }</code></td>
                                            <td>方向</td>
                                        </tr>
                    
                                         
                                        <tr>
                                            <td><code><b>reverse</b></code></td>
                                            <td><code>boolean</code>
                                            <td><code>false</code></td>
                                            <td>是否反转朝向</td>
                                        </tr>
                 
                                         
                                        <tr>
                                            <td><code><b>rayEllipsoid</b></code></td>
                                            <td><code>boolean</code>
                                            <td><code>false</code></td>
                                            <td>是否求交地球，在高轨全球视角时，效果的控制参数</td>
                                        </tr>
                
                                        
                                        <tr>
                                            <td><code><b>fixedFrameTransform</b></code></td>
                                            <td><code>Transforms.LocalFrameToFixedFrame</code>
                                            <td><code>Cesium.Transforms.eastNorthUpToFixedFrame</code></td>
                                            <td>参考系</td>
                                        </tr>
                     
                                        <tr>
                                            <td><code><b>show</b></code></td>
                                            <td><code>boolean</code>
                                            <td><code>true</code></td>
                                            <td>是否显示</td>
                                        </tr>
                
                                        
                                    </tbody>
                                </table>
                
                            </section>
                        </section>
                        <section>
                            <h3 id='mars3dmap-method'>属性</h3>
                            <section>
                                <table>
                                    <thead>
                                        <tr>
                                            <th>属性名</th>
                                            <th>类型</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody>  
                                        <tr>
                                            <td><code><b>position</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                            <td>所在的位置坐标 </td>
                                        </tr>
                                        
                                        <tr>
                                            <td><code><b>color</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Color.html?classFilter=Color">Color</a></code></td>
                                            <td>颜色</td>
                                        </tr>
                
                                        <tr>
                                            <td><code><b>areaType</b></code></td>
                                            <td><code><a href="#FrustumPrimitive-AreaType">AreaType</a></code></td>
                                            <td>椎体类型(圆锥或四棱锥)，默认：四棱锥体</td>
                                        </tr>
                                        
                                        <tr>
                                            <td><code><b>angle1</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>圆锥的角度 或者 四棱锥的第一个角度</td>
                                        </tr> 
                                        <tr>
                                            <td><code><b>angle2</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>四棱锥的第二个角度</td>
                                        </tr> 
                                     
                                        <tr>
                                            <td><code><b>heading</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>方向heading</td>
                                        </tr>
                                        <tr>
                                            <td><code><b>pitch</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>方向pitch</td>
                                        </tr>
                                        <tr>
                                            <td><code><b>roll</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>方向roll</td>
                                        </tr>
                                        <tr>
                                            <td><code><b>rotation</b></code></td>
                                            <td><code>Object</code></td>
                                            <td>方向 { heading: 0, pitch: 0, roll: 0 }</td>
                                        </tr>
                                         
                                        <tr>
                                            <td><code><b>reverse</b></code></td>
                                            <td><code>boolean</code>
                                            <td>是否反转朝向,在非卫星应用时，可以不反转方向</td>
                                        </tr>
                
                                        
                                         
                                        <tr>
                                            <td><code><b>rayEllipsoid</b></code></td>
                                            <td><code>boolean</code>
                                            <td>是否求交地球，在高轨全球视角时，效果的控制参数</td>
                                        </tr>
                
                                        
                                        <tr>
                                            <td><code><b>fixedFrameTransform</b></code></td>
                                            <td><code>function</code>
                                            <td>参考系</td>
                                        </tr>
                     
                                        <tr>
                                            <td><code><b>show</b></code></td>
                                            <td><code>boolean</code>
                                            <td>是否显示</td>
                                        </tr>
                
                
                                        <tr>
                                            <td><code><b>trackedEntity</b></code></td>
                                            <td><code>Entity</code>
                                            <td>跟踪卫星的对象，视锥体的方向和位置跟随追踪的entity</td>
                                        </tr>
                
                
                                        <tr>
                                            <td><code><b>groundPosition</b></code></td>
                                            <td><code>Cartesian3[只读]</code>
                                            <td>求与卫星中心射线与地球地面相交点</td>
                                        </tr>
                                        
                
                                    </tbody>
                                </table>
                            </section>
                        </section>
                        <section>
                            <h3 id='marker-method'>方法</h3>
                
                            <section>
                                <div class='section-comments'>
                                    包括模块释放时相关方法。
                                </div>
                                <table>
                                    <thead>
                                        <tr>
                                            <th>方法名</th>
                                            <th>返回值</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody> 
                        
                                        <tr id='marker-getData'>
                                                <td><code><b>exportImagingArea</b>(<nobr>Number </nobr> fractionDigits)</code></td>
                                                <td><code>void</code></td>
                                                <td>
                                                    <p>导出成像区边界坐标（经度、纬度）数组,保留fractionDigits小数位数 </p>
                                                </td>
                                        </tr> 
                                
            
                                        <tr id='marker-getData'>
                                            <td><code><b>destroy</b>()</code></td>
                                            <td><code>void</code></td>
                                            <td>
                                                <p>销毁释放对象</p>
                                            </td>
                                        </tr> 
            
                                        
                                    </tbody>
                                </table>
                
                            </section>
                        </section>
            
                
    

                        <h2 id='Satellite'>卫星综合体</h2>
                        <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
                        <p> 
                            mars3d.space.Satellite 是实体类，卫星综合体对象类【统一管理卫星模型、轨道、视锥体】。
                        </p> 
                        <section>
                                <h3 id='measureTool-example'>使用示例</h3>
                                <section>
                                    <pre><code class="javascript">var  weixin = new mars3d.space.Satellite(viewer, {
    "name": "GAOFEN 1",
    "tle1": "1 39150U 13018A   18309.20646405  .00000034  00000-0  12253-4 0  9993",
    "tle2": "2 39150  97.9189  29.2064 0018076 220.9170 139.0692 14.76532215297913",
    "model": { "uri": "/mars/weixin.gltf", "heading": 0, "pitch": 0, "roll": 0 },
    "label": { "show": true, "color": "#ffffff", "opacity": 1, "font_family": "楷体", "font_size": 30 },
    "cone": { "show": true, "areaType": true, "angle1": 30, "angle2": 20, "color": "#00ffff", "opacity": 0.7 },
    "path": { "show": true, "lineType": "solid", "color": "#00ff00", "opacity": 0.5, "width": 1},
});</code></pre>
                                </section>
                            </section> 
                        <section>
                            <h3 id='MeasureVolume-option'>Options参数选项</h3>
                            <section>
                
                                <table>
                                    <thead>
                                        <tr>
                                            <th>Option参数</th>
                                            <th>参数类型</th>
                                            <th>默认值</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody> 
                                        
                                        <tr>
                                            <td><code><b>id或norad</b></code></td>
                                            <td><code>String</code></td>
                                            <td><code></code></td>
                                            <td>卫星唯一编号</td>
                                        </tr> 
   
                                        <tr>
                                            <td><code><b>name</b></code></td>
                                            <td><code>String</code></td>
                                            <td><code>卫星</code></td>
                                            <td>卫星名称</td>
                                        </tr> 

                                        <tr>
                                            <td><code><b>tle1</b></code></td>
                                            <td><code>String</code></td>
                                            <td><code></code></td>
                                            <td>[必须]卫星星历的TLE参数的tle1</td>
                                        </tr> 

                                        
                                        <tr>
                                            <td><code><b>tle2</b></code></td>
                                            <td><code>String</code></td>
                                            <td><code></code></td>
                                            <td>[必须]卫星星历的TLE参数的tle2</td>
                                        </tr> 

                                        <tr>
                                            <td><code><b>model</b></code></td>
                                            <td><code><a href="#draw-style-model">Object</a></code></td>
                                            <td><code></code></td>
                                            <td>模型对象样式，参数参考Draw的model支持的style</td>
                                        </tr> 
                                        
                                        <tr>
                                            <td><code><b>label</b></code></td>
                                            <td><code><a href="#draw-style-label">Object</a></code></td>
                                            <td><code></code></td>
                                            <td>卫星名称对象样式，参数参考Draw的label支持的style</td>
                                        </tr> 
                                        
                                        <tr>
                                            <td><code><b>path</b></code></td>
                                            <td><code><a href="#draw-style-path">Object</a></code></td>
                                            <td><code></code></td>
                                            <td>
                                                卫星轨迹路径样式，参数参考Draw的polyline支持的style <br />
                                                额外参数：<br />
                                                closure:true //是否自动闭合圆轨道
                                            </td>
                                        </tr> 

                                        <tr>
                                            <td><code><b>shadingLine</b></code></td>
                                            <td><code><a href="#draw-style-path">Object</a></code></td>
                                            <td><code></code></td>
                                            <td>卫星星下投影线样式，参数参考Draw的polyline支持的style</td>
                                        </tr> 
 
                                        <tr>
                                            <td><code><b>cone</b></code></td>
                                            <td><code><a href="#FrustumPrimitive">Object</a></code></td>
                                            <td><code></code></td>
                                            <td>卫星视锥体样式，参数参考FrustumPrimitive支持的部分参数。 <br />
                                                额外参数：<br /> 
                                                "areaType": true标识FourPrism，false为Cone
                                                "list": []可以支持多个视锥体，参考 73_satellite2.html 示例

                                            </td>
                                        </tr> 

 

                                        <tr>
                                            <td><code><b>fixedFrameTransform</b></code></td>
                                            <td><code>Transforms.LocalFrameToFixedFrame</code>
                                            <td><code></code></td>
                                            <td>参考系，默认为Cesium.Transforms.eastNorthUpToFixedFrame</td>
                                        </tr>

                                        
                                        <tr>
                                            <td><code><b>interval</b></code></td>
                                            <td><code>bollean</code></td>
                                            <td><code>true</code></td>
                                            <td>是否自动定时更新数据，多个卫星时可以false后外部去手动更新</td>
                                        </tr> 

                                        <tr>
                                            <td><code><b>intervalTime</b></code></td>
                                            <td><code>Number</code></td>
                                            <td><code>1</code></td>
                                            <td>自动定时更新数据时，定时去更新的时长，单位：秒</td>
                                        </tr> 
                                        
                                        <tr>
                                            <td><code><b>popup</b></code></td>
                                            <td><code>String/Object</code></td>
                                            <td><code></code></td>
                                            <td>鼠标单击后的popup弹窗配置</td>
                                        </tr> 
                                        
                                        <tr>
                                            <td><code><b>tooltip</b></code></td>
                                            <td><code>String/Object</code></td>
                                            <td><code></code></td>
                                            <td>鼠标移入后的tooltip弹窗配置</td>
                                        </tr> 

                                        <tr>
                                            <td><code><b>click</b></code></td>
                                            <td><code>function</code></td>
                                            <td><code></code></td>
                                            <td>鼠标单击卫星后的回调方法</td>
                                        </tr> 

                                        
                                        <tr>
                                            <td><code><b>onChange</b></code></td>
                                            <td><code>function</code></td>
                                            <td><code></code></td>
                                            <td>卫星更新位置后的回调方法</td>
                                        </tr> 
                                        
                                        <tr>
                                            <td><code><b>visible</b></code></td>
                                            <td><code>boolean</code></td>
                                            <td><code></code></td>
                                            <td>是否显示卫星</td>
                                        </tr> 
                                    </tbody>
                                </table>
                
                            </section>
                        </section>
                        <section>
                            <h3 id='mars3dmap-method'>属性</h3>
                            <section>
                                <table>
                                    <thead>
                                        <tr>
                                            <th>属性名</th>
                                            <th>类型</th>
                                            <th>说明</th>
                                        </tr>
                                    </thead>
                                    <tbody>   
                                        <tr>
                                            <td><code>[只读]<b>entity</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Entity.html?classFilter=entity">entity</a></code></td>
                                            <td>卫星对象，包含模型model、label、path等的一个Entity对象</td>
                                        </tr>
                                        
                                        <tr>
                                            <td><code>[只读]<b>position</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                            <td>卫星当前位置</td>
                                        </tr>
                                        <tr>
                                            <td><code>[只读]<b>matrix</b></code></td>
                                            <td><code><nobr> <a href='http://mars3d.cn/forcesium/Build/Documentation/Quaternion.html?classFilter=Matrix4'>Matrix4</a></nobr> </code>
                                            <td>获取当前实时矩阵信息</td>
                                         </tr> 
                                         <tr>
                                            <td><code>[只读]<b>groundPosition</b></code></td>
                                            <td><code><a href="http://mars3d.cn/forcesium/Build/Documentation/Cartesian3.html?classFilter=Cartesian3">Cartesian3</a></code></td>
                                            <td>求与卫星中心射线与地球相交点</td>
                                         </tr> 

                                         <tr>
                                            <td><code>[只读]<b>timeRange</b></code></td>
                                            <td><code>object</td>
                                            <td>获取当前卫星的起止时间</td>
                                         </tr> 

                                         
                                        <tr>
                                            <td><code><b>config</b></code></td>
                                            <td><code>Object</code></td>
                                            <td>支持对一些options参数中样式或效果的参数的更新，参数格式与options一致</td>
                                        </tr>
                                        
                                         <tr>
                                            <td><code><b>visible</b></code></td>
                                            <td><code>boolean</code></td>
                                            <td>是否显示卫星</td>
                                        </tr> 
                                         
                                      
                                        <tr>
                                            <td><code><b>angle1</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>视锥体的第一个角度</td>
                                        </tr> 
                                        <tr>
                                            <td><code><b>angle2</b></code></td>
                                            <td><code>Number</code></td>
                                            <td>视锥体的四棱锥的第二个角度</td>
                                        </tr> 
                                       
        
                                        <tr>
                                            <td><code><b>heading</b></code></td>
                                            <td><code>Number</code>
                                            <td>模型的heading方向</td>
                                        </tr>
        
                                        <tr>
                                            <td><code><b>pitch</b></code></td>
                                            <td><code>Number</code>
                                            <td>模型的pitch方向</td>
                                        </tr> 
                                        <tr>
                                            <td><code><b>roll</b></code></td>
                                            <td><code>Number</code>
                                            <td>模型的roll方向</td>
                                        </tr>
                                        
                                        
                                        <tr>
                                            <td><code><b>debugAxis</b></code></td>
                                            <td><code>boolean</code></td>
                                            <td>是否显示坐标系3个轴，目的用于显示对比</td>
                                        </tr> 
                                         
                                    </tbody>
                                </table>
                            </section>
                        </section>
                        <section>
                                <h3 id='marker-method'>方法</h3>
                    
                                <section>
                                    <div class='section-comments'>
                                        包括模块释放时相关方法。
                                    </div>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th>方法名</th>
                                                <th>返回值</th>
                                                <th>说明</th>
                                            </tr>
                                        </thead>
                                        <tbody>   
                                            <tr id='marker-getData'>
                                                <td><code><b>updateConfig</b>(<nobr>Object</nobr> <i>params</i>)</code></td>
                                                <td><code>void</code></td>
                                                <td>
                                                    <p>支持对一些options参数中样式或效果的参数的更新，参数格式与options一致</p>
                                                </td>
                                            </tr> 
                                            
                                            <tr id='marker-getData'>
                                                <td><code><b>setConeVisible</b>(<nobr>boolean</nobr> <i>show</i>)</code></td>
                                                <td><code>void</code></td>
                                                <td>
                                                    <p>视锥体显示状态切换</p>
                                                </td>
                                            </tr> 
                
                                            <tr>
                                                <td><code><b>flyTo</b>(<nobr>Object</nobr> <i>options?</i>)</code></td>
                                                <td><code></code></td>
                                                <td>
                                                    <p>视角飞行定位到卫星处</p>   options支持：radius控制点数据视距距离
                                                   </td>
                                            </tr>
                                            <tr id='marker-getData'>
                                                <td><code><b>update</b>()</code></td>
                                                <td><code>void</code></td>
                                                <td>
                                                   更新卫星对象，内部进行计算实时坐标等，interval属性为false时，可以手动调用此方法
                                                </td>
                                            </tr> 

                                            <tr id='marker-getData'>
                                                <td><code><b>destroy</b>()</code></td>
                                                <td><code>void</code></td>
                                                <td>
                                                    <p>销毁释放对象</p>
                                                </td>
                                            </tr> 
                
                                            
                                        </tbody>
                                    </table>
                    
                                </section>
                            </section>
    
    

        <h2 id='mars3d-space-util'>space.util类</h2>

        <p>该类在插件不在mars3d.js主库中，在单独的插件mars3d-space.js文件内。 </p> 
        <p>
            mars3d.space.util 该类是一些卫星中常用通用静态方法
        </p>
        <section>
            <h3 id='pointconvert-method'>方法</h3>
            <section>
                <table>
                    <thead>
                        <tr>
                            <th>方法名</th>
                            <th>返回值</th>
                            <th>说明</th>
                        </tr>
                    </thead>
                    <tbody>  
                        <tr>
                            <td><code><b>getPeriod</b>( <nobr>String</nobr> <i>tle2</i>)</code></td>
                            <td><code><nobr>Object</nobr></code></td>
                            <td>
                                <p>获取目标的运行周期， 输入：TLE的第二行， 输出：周期（分钟单位）</p>    
                            </td>
                        </tr>

                        <tr>
                            <td><code><b>getSatellitePosition</b>(<nobr>String</nobr> <i>tle1</i>,<nobr>String</nobr> <i>tle2</i>,<nobr>Date</nobr> <i>datetime</i>)</code></td>
                            <td><code><nobr>Object</nobr></code></td>
                            <td>
                                <p>根据TLE参数和时间，计算卫星当前的位置</p>  
                                输出示例：{"x":-3200,"y":5396,"z":-2917,"longitude":171.987788,"latitude":-25.072267,"height":544}
                            </td>
                        </tr>


                    </tbody>
                </table>
            </section>
        </section>

                    




    </div>

    <br />
    <br />
    <br />

    <!--footer-->
    <div class="iclient-footer">
        <div class="container">
            <div class="iclient-copyright" id="iclient-footer">
                版权所有 © 2017-2020 <a href="http://www.marsgis.cn" target="_blank">火星科技</a>&nbsp;&nbsp;<a href="http://www.beian.miit.gov.cn" target=" _blank">皖ICP备17025519号</a>
            </div>
        </div>
    </div>

    <script src="js/docs.js"></script>
    <script>
        hljs.configure({
            tabReplace: '    '
        });
        hljs.initHighlightingOnLoad();

        var elems = document.querySelectorAll('h2, h3, h4, tr');

        for (var i = 0, len = elems.length; i < len; i++) {
            var el = elems[i];

            if (el.id) {
                var anchor = document.createElement('a');
                anchor.setAttribute('anchor', el.id);
                if (!el.children.length) {
                    // For headers, insert the anchor before.
                    el.parentNode.insertBefore(anchor, el);
                } else {
                    // For table rows, insert the anchor inside the first <td>
                    el.querySelector('td').appendChild(anchor);

                    // Clicking on the row (meaning "the link icon on the ::before)
                    // jumps to the item
                    el.parentNode.onclick = function (hash) {
                        return function (ev) {
                            if (ev.offsetX < 0) {
                                window.location.hash = '#' + ev.target.parentNode.id;
                            }
                        };
                    }(el.id);
                }
            }
        }

        elems = document.querySelectorAll('div.accordion');
        for (var i = 0, len = elems.length; i < len; i++) {
            var el = elems[i];

            el.querySelector('label').addEventListener('click', function (c) {
                return function () {
                    if (c.className === 'accordion expanded') {
                        c.className = 'accordion collapsed';
                    } else {
                        c.className = 'accordion expanded';
                    }
                };
            }(el));

            // 		el.className = 'accordion collapsed';
            // 		el.querySelector('.accordion-content').style.display = 'none';
        }
    </script>
    <style>
        h2 {
            margin-top: 2em;
        }

        h3 {
            margin-top: 1em;
            margin-bottom: .5em;
        }

        div.accordion {
            width: 100%;
            /* 		overflow: hidden; */
        }

        div.accordion-overflow {
            width: 100%;
            overflow: hidden;
        }

        label,
        section > h4 {
            display: block;
            font-weight: 500;
            margin: 1em 0 0.25em;
        }

        label {
            cursor: pointer;
        }

        div.accordion > div.accordion-overflow > div.accordion-content {
            max-height: 0;
            display: none;
        }

        div.accordion.collapsed > div.accordion-overflow > div.accordion-content {
            animation-duration: 0.4s;
            animation-name: collapse;
            /* 		height: 0; */
            max-height: 0;
            display: block;
            overflow: hidden;
        }

        div.accordion.expanded > div.accordion-overflow > div.accordion-content {
            animation-duration: 0.4s;
            animation-name: expand;
            /* 		height: auto; */
            max-height: none;
            display: block;
        }

        @keyframes collapse {
            0% {
                max-height: 100vh;
            }

            100% {
                max-height: 0;
            }
        }

        @keyframes expand {
            0% {
                max-height: 0;
            }

            100% {
                max-height: 100vh;
            }
        }
        /*	div.accordion > div.accordion-content {
            transition: max-height 0.4s ease-out 0s;
        }*/

        div.accordion.expanded > label > span.expander {
            transform: rotate(90deg);
        }

        div.accordion > label > span.expander {
            transition: transform 0.4s ease-out 0s;
            display: inline-block;
            font-size: 12px;
        }

        table {
            margin-bottom: 0;
        }
        /* 	Markdown renders some spurious <p>s inside the table cells */

        td > p {
            margin: 0;
        }
        /* 	This just looks bad (with the current grey headers for sections which Vlad doesn't really like, so might have to change this) */

        section.collapsable > div.section-comments > p {
            margin: 0;
        }

        div.section-comments {
            margin-bottom: 0.25em;
        }
        /*	section.collapsable div.section-comments {
            margin: 1em;
            font-size: 12px;
        }*/

        section.collapsable pre {
            margin: 0;
        }

        section {
            margin-left: 0.5em;
        }

            section h4,
            section.collapsable h4 {
                margin-left: -0.5em;
            }
    </style>
</body>

</html>